/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.model.generators;

import java.awt.Color;
import pl.edu.amu.wmi.kino.visualjavafx.model.objects.shapes.Elipse;

/**
 *
 * @author Admin
 */
/**
 * V and HcenterDelta are not set - default is 0,0
 * @author Admin
 */
public class ModelEllipseGenerator {
    public static Elipse generateElipse(double x,double y,double radX, double radY,
            Color border, Color fill,double strokeWidth){
        Elipse res = new Elipse();
        res.setHPos(x);
        res.setVPos(y);
        res.setSizeH(radX);
        res.setSizeV(radY);
        res.setBorderColor(border);
        res.setFillColor(fill);
        res.setBorderWidth(strokeWidth);

        return res;
    }

}
